﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Revis.VClinicNet.Core.Domain.Repository
{
    public interface IRepository<T> where T: class
    {
        void Store(T obj);
        T Find(long id);
        IList<T> FindAll();
        IList<T> FindBy(string field, string value);
        void Delete(T obj);
    }
}
